package com.atguigu.day16.exer;

import org.junit.Test;

public class TestStringMethord2 {
    @Test
    public void test01(){
        String str="尚硅谷是一家靠谱的培训机构,尚硅谷非常棒!";
        System.out.println(str.contains("尚硅谷"));//是否包含
    }
}
